package com.anda.logistics.dao;

import java.util.List;

import com.anda.logistics.model.DriverLocation;
import com.anda.logistics.model.DriverLocationRt;
import com.anda.logistics.model.TruckInfo;
import com.anda.logistics.util.JQGridPager;
import com.anda.logistics.vo.LocationStatVo;

public interface DriverLocationDao {
	public void save(DriverLocation location);

	public DriverLocationRt getLocationByMobileNo(String mobileNo);

	public void deleteRt(long id);

	public void save(DriverLocationRt rt);

	public List<LocationStatVo> getStat(int level, String plateNo, String region);

	public List<TruckInfo> getStat(String plateNo, String region, String city);

	public List<TruckInfo> getPagerTruckList(JQGridPager pager, String city,
			String region, String plateNo);

	public long getPagerTruckRecords(JQGridPager pager, String city,
			String region, String plateNo);
}
